import os
import operator

# for i in range(1,13):
#     i=str(i) if i>=10 else '0'+str(i)
#     print(i,type(i),str(i),type(str(i)))
src=r"E:\黑马计算机\传智播客-Python基础视频\第1章：基础班预习视频\01-Python基础\01-Python基础\03-视频"
des=r"E:\黑马计算机\传智播客-Python基础视频\黑马黄老师python基础视频"

pathLst=[src.replace("01","0"+str(i)) if i<10 else src.replace("01",str(i)) for i in range(1,14)]
moiveLst=[os.listdir(path) for path in pathLst]
print("原来的路径：",pathLst)
for mv in moiveLst:
    print(mv)
newLst=[]
for file in os.listdir(des):
    print(file,os.listdir(des+'\\'+file))
    newLst.append(os.listdir(des+'\\'+file))
print("新旧是否相等:",operator.eq(moiveLst,newLst))